package com.by.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.Date;

@Data
@ApiModel("消息通知")
public class Message {
    int id;
    @ApiModelProperty(value = "消息标题")
    String title;
    @ApiModelProperty(value = "消息内容")
    String content;
    @ApiModelProperty("创建日期")
    Date createTime;
    @ApiModelProperty("更新日期")
    Date updateTime;
    @ApiModelProperty("是否已读 1已读 0未读")
    int isRead;
}
